public class PorxyTest {
    public static void main(String[] args) {

        Subject realSubject = new RealSubject();
        realSubject.request();

        System.out.println("======================");
        Subject proxySubject = new ProxySubject(new RealSubject());
        proxySubject.request();
    }
}
